Optimal. Leaf size=88 \[ a^5 A \log (x)+\frac{5}{2} a^4 A b x^2+\frac{5}{2} a^3 A b^2 x^4+\frac{5}{3} a^2 A b^3 x^6+\frac{5}{8} a A b^4 x^8+\frac{B \left (a+b x^2\right )^6}{12 b}+\frac{1}{10} A b^5 x^{10} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.141172, antiderivative size = 88, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.15 \[ a^5 A \log (x)+\frac{5}{2} a^4 A b x^2+\frac{5}{2} a^3 A b^2 x^4+\frac{5}{3} a^2 A b^3 x^6+\frac{5}{8} a A b^4 x^8+\frac{B \left (a+b x^2\right )^6}{12 b}+\frac{1}{10} A b^5 x^{10} \]
Antiderivative was successfully verified.
[In] Int[((a + b*x^2)^5*(A + B*x^2))/x,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ \frac{A a^{5} \log{\left (x^{2} \right )}}{2} + \frac{5 A a^{4} b x^{2}}{2} + 5 A a^{3} b^{2} \int ^{x^{2}} x\, dx + \frac{5 A a^{2} b^{3} x^{6}}{3} + \frac{5 A a b^{4} x^{8}}{8} + \frac{A b^{5} x^{10}}{10} + \frac{B \left (a + b x^{2}\right )^{6}}{12 b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x**2+a)**5*(B*x**2+A)/x,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0497772, size = 113, normalized size = 1.28 \[ a^5 A \log (x)+\frac{1}{2} a^4 x^2 (a B+5 A b)+\frac{5}{4} a^3 b x^4 (a B+2 A b)+\frac{5}{3} a^2 b^2 x^6 (a B+A b)+\frac{1}{10} b^4 x^{10} (5 a B+A b)+\frac{5}{8} a b^3 x^8 (2 a B+A b)+\frac{1}{12} b^5 B x^{12} \]
Antiderivative was successfully verified.
[In] Integrate[((a + b*x^2)^5*(A + B*x^2))/x,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.003, size = 124, normalized size = 1.4 \[{\frac{B{b}^{5}{x}^{12}}{12}}+{\frac{A{b}^{5}{x}^{10}}{10}}+{\frac{B{x}^{10}a{b}^{4}}{2}}+{\frac{5\,aA{b}^{4}{x}^{8}}{8}}+{\frac{5\,B{x}^{8}{a}^{2}{b}^{3}}{4}}+{\frac{5\,{a}^{2}A{b}^{3}{x}^{6}}{3}}+{\frac{5\,B{x}^{6}{a}^{3}{b}^{2}}{3}}+{\frac{5\,{a}^{3}A{b}^{2}{x}^{4}}{2}}+{\frac{5\,B{x}^{4}{a}^{4}b}{4}}+{\frac{5\,{a}^{4}Ab{x}^{2}}{2}}+{\frac{B{x}^{2}{a}^{5}}{2}}+{a}^{5}A\ln \left ( x \right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x^2+a)^5*(B*x^2+A)/x,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.35166, size = 162, normalized size = 1.84 \[ \frac{1}{12} \, B b^{5} x^{12} + \frac{1}{10} \,{\left (5 \, B a b^{4} + A b^{5}\right )} x^{10} + \frac{5}{8} \,{\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} x^{8} + \frac{5}{3} \,{\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} x^{6} + \frac{1}{2} \, A a^{5} \log \left (x^{2}\right ) + \frac{5}{4} \,{\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} x^{4} + \frac{1}{2} \,{\left (B a^{5} + 5 \, A a^{4} b\right )} x^{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^2 + A)*(b*x^2 + a)^5/x,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.240674, size = 158, normalized size = 1.8 \[ \frac{1}{12} \, B b^{5} x^{12} + \frac{1}{10} \,{\left (5 \, B a b^{4} + A b^{5}\right )} x^{10} + \frac{5}{8} \,{\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} x^{8} + \frac{5}{3} \,{\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} x^{6} + A a^{5} \log \left (x\right ) + \frac{5}{4} \,{\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} x^{4} + \frac{1}{2} \,{\left (B a^{5} + 5 \, A a^{4} b\right )} x^{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^2 + A)*(b*x^2 + a)^5/x,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.57969, size = 134, normalized size = 1.52 \[ A a^{5} \log{\left (x \right )} + \frac{B b^{5} x^{12}}{12} + x^{10} \left (\frac{A b^{5}}{10} + \frac{B a b^{4}}{2}\right ) + x^{8} \left (\frac{5 A a b^{4}}{8} + \frac{5 B a^{2} b^{3}}{4}\right ) + x^{6} \left (\frac{5 A a^{2} b^{3}}{3} + \frac{5 B a^{3} b^{2}}{3}\right ) + x^{4} \left (\frac{5 A a^{3} b^{2}}{2} + \frac{5 B a^{4} b}{4}\right ) + x^{2} \left (\frac{5 A a^{4} b}{2} + \frac{B a^{5}}{2}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x**2+a)**5*(B*x**2+A)/x,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.221658, size = 170, normalized size = 1.93 \[ \frac{1}{12} \, B b^{5} x^{12} + \frac{1}{2} \, B a b^{4} x^{10} + \frac{1}{10} \, A b^{5} x^{10} + \frac{5}{4} \, B a^{2} b^{3} x^{8} + \frac{5}{8} \, A a b^{4} x^{8} + \frac{5}{3} \, B a^{3} b^{2} x^{6} + \frac{5}{3} \, A a^{2} b^{3} x^{6} + \frac{5}{4} \, B a^{4} b x^{4} + \frac{5}{2} \, A a^{3} b^{2} x^{4} + \frac{1}{2} \, B a^{5} x^{2} + \frac{5}{2} \, A a^{4} b x^{2} + \frac{1}{2} \, A a^{5}{\rm ln}\left (x^{2}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^2 + A)*(b*x^2 + a)^5/x,x, algorithm="giac")
[Out]